package cc.risingsun.wing.core.scanner;

import java.io.IOException;
import java.io.InputStream;

/**
 *
 *@author iron.yin@gmail.com
 */
public interface ScannerListener {

	boolean onAccept(String resource);
	
	void onProcess(String resource,InputStream input)throws IOException;
	
	void onProcess(String resource,byte[] input)throws IOException;
	
}
